function getData(url,fn){
	$.dpAjax({
		url:url,
		data:{busiId: $.getUrlData('id')},
		success: function(datas){
		  if(datas.flag == "100100"){
			var result = datas.result;
			//业务信息
			var ywBusiness = result.ywBusiness;
			if(ywBusiness) {
				$('#busiId').val(ywBusiness.replaceId);
				$('#queryCreditApplyId').val(ywBusiness.queryCreditApplyId);
				$('#customerId').val(ywBusiness.customerId);
				$('#customerName').html(ywBusiness.customerName);
				$('#customerNo').html(ywBusiness.customerNo);
				$('#busiCode').html(ywBusiness.busiCode);
				$('#channelType').html(ywBusiness.channelTypeDisplay);
				$('#channelStatus').html(ywBusiness.channelStatusDisplay);
				
			}
			
			var historyBusiness = result.historyBusiness;
			if(historyBusiness && historyBusiness != '') {
				$('#historyBusiness').html(historyBusiness);
			}
			
			var salesmanName = result.salesmanName;
			if(salesmanName && salesmanName != '') {
				$('#salesmanName').html(salesmanName);
			}
			
			var orgName = result.orgName;
			if(orgName && orgName != ''){
				$('#orgName').html(orgName);
			}
			
			var dealerLevel = result.dealerLevel;
			if(dealerLevel && dealerLevel != ''){
				$('#dealerLevel').html(dealerLevel);
			}
			
			var dealerName = result.dealerName;
			if(dealerName && dealerName != ''){
				$('#dealerName').html(dealerName);
			}
			
			//没有上传的图片
//			var labels = result.labels;
//			if(labels && labels.length) {
//				for(var i in labels) {
//					$img = $('img[filelabel="'+labels[i]+'"]');
//					$img.parent('li').show();
//				}
//				
//			}
			//提示上传已经齐全
//			$ul = $('.zx-addimg ul');
//			if($ul) {
//				$ul.each(function(){
//					var context = this;
//					var liObjs = $(context).children('li');
//					var hasLiBlock = false;
//					for(var i = 0; i < liObjs.length; i++) {
//						var liObj = liObjs[i];
//						var liDisplay = $(liObj).css('display');
//						if(liDisplay != 'none') {
//							hasLiBlock = true;
//							break;
//						}
//					}
//					if(!hasLiBlock) {
//						$(context).append('<li style="color: green;">已经齐全</li>');
//					}
//				});
//			}
			
			if(fn) {
				fn();
			}
			 return;
		  }
		  if(datas.flag == "100200")
          {
			  $.fn.showDatas({"datas":datas});
            	  return;
              }
			  layer.msg(datas.message, {icon: 2});
         }
	});
}

//展示附件
